PATHMac OS 8 and 9 Developer Documentation > Interapplication Communication > AppleScript for Scripters >

AppleScript Language Guide

   

Abbreviations

The AppleScript language is designed to be intuitive and easy to understand. To this end, it uses familiar words to represent objects and commands and uses statements whose structure is similar to English sentences. For the same reason, it typically uses real words instead of abbreviations. In a few cases, however, AppleScript supports abbreviations for long and frequently used words.

One important example is the abbreviation app , which you can use to refer to objects of class application. This is particularly useful in Tell statements. For example, the following two Tell statements are equivalent:

tell application "AppleWorks"
    print the front window
end tell


tell app "AppleWorks"
    print the front window
end tell

© 1999 Apple Computer, Inc. – (Last Updated 21 May 99)